package com.example.design_pattern.mediator;

public class Colleague1 extends Colleague {

    public Colleague1(Mediator mMediator) {
        super(mMediator);
    }

    /**
     * 当有别的同事对象发生变换时，调停者会回调该方法
     */
    @Override
    public void action() {
        System.out.println("有同事发生了变化，Colleague1 被回调到了........");
    }
}
